//@author A0106044W
package commandInfo;

import java.util.ArrayList;

import storage.Task;

/**
 * 
 * 
 * 	       Sothearith Sreang
 *         All of the CommandInfo part is written by me.
 *         commandInfo is created for command history purposes.
 * 			
 */

public class AddFilterCommandInfo extends CommandInfo {

	ArrayList<Task> taskList;
	
	private static final String COMMAND = "ADD";
	
	public AddFilterCommandInfo(ArrayList<Task> taskListAtt) {
		super.command = COMMAND;
		taskList = taskListAtt;
	}
	
	public ArrayList<Task> getUpdatedTasksList() {
		return taskList;
	}
	
	public boolean isFilter() {
		return true;
	}

}
